import axios from "axios";
import globalApi from "@/config/globalApi";

export default class RegisterService {
  /**
   * 注册接口
   * @param userData 用户数据
   * @return {Promise<axios.AxiosResponse<any>>}
   */
  static register(userData) {
    return axios.post(globalApi.register, userData)
  }
}
